package com.chagee.store.operation.common.constant;

import java.util.Arrays;
import java.util.List;

/**
 * @ClassName SupplierWorkOrderConstant  //类名称
 * @Description: //类描述:公共常量定义
 * @Author: Jacky-zhan	//作者
 * @CreateDate: 2024/05/10 09:50	//创建时间
 * @UpdateUser: Jacky-zhan	//作者
 * @UpdateDate: 2024/05/10 09:50	//更新时间
 * @UpdateRemark: 更新的信息
 * @Version: 1.0    //版本号
 */
public interface SupplierWorkOrderConstant {

	/**
	 * 扫码成功标识符:0成功，1失败。
	 */
	String SCAN_SUCCESS_CODE = "0";
	String SCAN_FAIL_CODE = "1";

	/**
	 * 用户类型标识符1主账户，2子账户。
	 */
	String USER_TYPE_MAIN_ACCOUNT = "1";
	String USER_TYPE_SUB_ACCOUNTS = "2";

	/**
	 * 工单状态为全部时
	 */
	String DOCUMENT_STATUS_ALL = "100";

	/**
	 * 工单状态为全部时
	 */
	String COMPANY_ID_0000 = "0000";

	/**
	 * 工单状态为全部时
	 */
	String COMPANY_ID_1111 = "1111";

	/**
	 * 分隔符：,
	 */
	String COMMA = ",";

	/**
	 * 标识符：(
	 */
	String LEFT_BRACKET = "(";

	/**
	 * 标识符：)
	 */
	String RIGHT_BRACKET = ")";

	/**
	 * 是否选择全部门店标识符
	 */
	String ALL_STORE_STATUS = "1";

	/**
	 * AI识别结果是否合格:0不合格，1合格；
	 */
	Integer AI_RESULT_NO = 0;
	String AI_RESULT_NO_MEANING = "不合格";
	Integer AI_RESULT_OK = 1;
	String AI_RESULT_OK_MEANING = "合格";

	/**
	 * ai识别回传接口code：请求成功，图像合格；请求成功，图像不合格；请求失败
	 */
	String AI_RESPONSE_CODE = "code";
	String AI_RESPONSE_SUCCESS_OK_CODE = "200";
	List<String> AI_RESPONSE_FAIL_NO_CODE = Arrays.asList("400", "404", "410", "500");

	/**
	 * 出茶口(出料口)请求成功但结果不合格code
	 */
	List<String> TEA_OUTLET_AI_SUCCESS_CODE = Arrays.asList("20001", "20002", "20003", "20004", "20005");
	String TEA_OUTLET_AI_SUCCESS_CODE_05 = "20005";
	/**
	 * 料仓(牛奶冰勃朗料盒)请求成功但结果不合格code
	 */
	List<String> SILO_AI_SUCCESS_CODE = Arrays.asList("20030", "20031");
	String SILO_AI_SUCCESS_CODE_31 = "20031";
	/**
	 * 出风口请求成功但结果不合格code
	 */
	List<String> OUTLET_AI_SUCCESS_CODE = Arrays.asList("20010", "20011", "20012");
	String OUTLET_AI_SUCCESS_CODE_12 = "20012";
	/**
	 * 蠕动泵请求成功但结果不合格code
	 */
	List<String> PERISTALTIC_PUMP_AI_SUCCESS_CODE = Arrays.asList("20020", "20021", "20022");
	String PERISTALTIC_PUMP_AI_SUCCESS_CODE_22 = "20022";

	/**
	 * AI识别 common异常
	 */
	Integer AI_COMMON_EXP_PARAM_ERROR = 400;
	Integer AI_COMMON_EXP_IMAGE_INVALID = 410;
	Integer AI_COMMON_EXP_INTERNAL_ERROR = 500;
	Integer AI_COMMON_EXP_NOT_FOUND = 404;
	Integer AI_COMMON_EXP_PARAM_IS_NULL = 501;
	/**
	 * 出料口清洁异常code
	 */
	Integer OUTLET_CLING_FILM_SUCCESS_NO_CODE_1 = 20001;
	Integer OUTLET_CLING_FILM_SUCCESS_NO_CODE_2 = 20002;
	Integer OUTLET_CLING_FILM_SUCCESS_NO_CODE_3 = 20003;
	Integer OUTLET_CLING_FILM_SUCCESS_NO_CODE_4 = 20004;
	Integer OUTLET_CLING_FILM_SUCCESS_NO_CODE_5 = 20005;
	/**
	 * 出风口清洁异常code
	 */
	Integer AIR_OUTLET_SUCCESS_NO_CODE_1 = 20010;
	Integer AIR_OUTLET_SUCCESS_NO_CODE_2 = 20011;
	Integer AIR_OUTLET_SUCCESS_NO_CODE_3 = 20012;
	/**
	 * 蠕动泵清洁异常code
	 */
	Integer PERISTALTIC_PUMP_SUCCESS_NO_CODE_1 = 20020;
	Integer PERISTALTIC_PUMP_SUCCESS_NO_CODE_2 = 20021;
	Integer PERISTALTIC_PUMP_SUCCESS_NO_CODE_3 = 20022;
	/**
	 * 牛奶冰勃朗料盒清洁异常code
	 */
	Integer ICE_BLANC_MILK_BOX_SUCCESS_NO_CODE_1 = 20030;
	Integer ICE_BLANC_MILK_BOX_SUCCESS_NO_CODE_2 = 20031;

}
